<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcrtc: crtc::Promise&lt; Args &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libcrtc
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>crtc</b></li><li class="navelem"><a class="el" href="classcrtc_1_1_promise.html">Promise</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classcrtc_1_1_promise-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">crtc::Promise&lt; Args &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="crtc_8h_source.html">crtc.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for crtc::Promise&lt; Args &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcrtc_1_1_promise.png" usemap="#crtc::Promise_3C_20Args_20_3E_map" alt=""/>
  <map id="crtc::Promise_3C_20Args_20_3E_map" name="crtc::Promise&lt; Args &gt;_map">
<area href="classcrtc_1_1_reference.html" alt="crtc::Reference" shape="rect" coords="0,0,136,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a290c0ccdf327723babbe8f164c4df5ab"><td class="memItemLeft" align="right" valign="top"><a id="a290c0ccdf327723babbe8f164c4df5ab"></a>
typedef Functor&lt; void(Args...)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FullFilledCallback</b></td></tr>
<tr class="separator:a290c0ccdf327723babbe8f164c4df5ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae54c065de7d88f20288fe735cd246dab"><td class="memItemLeft" align="right" valign="top"><a id="ae54c065de7d88f20288fe735cd246dab"></a>
typedef Callback&#160;</td><td class="memItemRight" valign="bottom"><b>FinallyCallback</b></td></tr>
<tr class="separator:ae54c065de7d88f20288fe735cd246dab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f10866ff979f465b7da3a003a119221"><td class="memItemLeft" align="right" valign="top"><a id="a4f10866ff979f465b7da3a003a119221"></a>
typedef ErrorCallback&#160;</td><td class="memItemRight" valign="bottom"><b>RejectedCallback</b></td></tr>
<tr class="separator:a4f10866ff979f465b7da3a003a119221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e9fc00565852da3427d032caa95bc42"><td class="memItemLeft" align="right" valign="top"><a id="a2e9fc00565852da3427d032caa95bc42"></a>
typedef Functor&lt; void(const FullFilledCallback &amp;resolve, const RejectedCallback &amp;reject)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ExecutorCallback</b></td></tr>
<tr class="separator:a2e9fc00565852da3427d032caa95bc42"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7bc5658e5b1269839facd6db81850a8f"><td class="memItemLeft" align="right" valign="top"><a id="a7bc5658e5b1269839facd6db81850a8f"></a>
<a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_promise.html">Promise</a>&lt; Args... &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Then</b> (const FullFilledCallback &amp;callback)</td></tr>
<tr class="separator:a7bc5658e5b1269839facd6db81850a8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a566e1da0e79174d0d8dad7d6e6c779"><td class="memItemLeft" align="right" valign="top"><a id="a4a566e1da0e79174d0d8dad7d6e6c779"></a>
<a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_promise.html">Promise</a>&lt; Args... &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Catch</b> (const RejectedCallback &amp;callback)</td></tr>
<tr class="separator:a4a566e1da0e79174d0d8dad7d6e6c779"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48ef4f117433e1b00407ec0811381426"><td class="memItemLeft" align="right" valign="top"><a id="a48ef4f117433e1b00407ec0811381426"></a>
<a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_promise.html">Promise</a>&lt; Args... &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Finally</b> (const FinallyCallback &amp;callback)</td></tr>
<tr class="separator:a48ef4f117433e1b00407ec0811381426"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a1cf928ab1f15020c10e06bf7a29e3af5"><td class="memItemLeft" align="right" valign="top"><a id="a1cf928ab1f15020c10e06bf7a29e3af5"></a>
static <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_promise.html">Promise</a>&lt; Args... &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>New</b> (const ExecutorCallback &amp;executor, const <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_worker.html">Worker</a> &gt; &amp;worker=Worker::This())</td></tr>
<tr class="separator:a1cf928ab1f15020c10e06bf7a29e3af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ac89511b4c0fca256f4c1351406af4d86"><td class="memItemLeft" align="right" valign="top"><a id="ac89511b4c0fca256f4c1351406af4d86"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>Let&lt; Promise&lt; Args... &gt; &gt;</b></td></tr>
<tr class="separator:ac89511b4c0fca256f4c1351406af4d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename... Args&gt;<br />
class crtc::Promise&lt; Args &gt;</h3>

<dl class="section see"><dt>See also</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise">https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise</a> </dd></dl>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="crtc_8h_source.html">crtc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
